package ru.vsu.cs.pm.beans;

import ru.vsu.cs.pm.models.Account;
import ru.vsu.cs.pm.models.User;

import java.util.List;

/**
 * User: Oleg
 * Date: 23.12.2010
 * Time: 3:48:05
 */
public interface AccountManager {
    List<Account> getAccountsForUser(User user);
    List<Account> getAccountsForUser(User user, int start, int count);
    int getNumberOfUserAccounts(User user);
    Account getAccount(int id);
    Account saveOrUpdateAccount(Account account);
    Account getReserveAccountForUser(User user);
}
